#ifndef 	__BSP_STM32FLASH_H_
#define		__BSP_STM32FLASH_H_

#include  "stm32f0xx.h"

#define LAST_PAGE_START_ADDR       ((uint32_t)0x800FC00)
#define LAST_PAGE_END_ADDR         ((uint32_t)0x800FFFF) 
#define FLASH_PAGE_SIZE            ((uint32_t)0x00000400) 

#define A_PHASE_PARAM_ADDR         (LAST_PAGE_START_ADDR)
#define B_PHASE_PARAM_ADDR         (LAST_PAGE_START_ADDR+2)
#define C_PHASE_PARAM_ADDR         (LAST_PAGE_START_ADDR+4)

void Read_Param(void);
void Save_Param(void);

#endif